from PIL import Image, ImageFilter

img = Image.open('2.png')
blur = img.filter(ImageFilter.SHARPEN)
blur.save('output3.png')